// import com.alibaba.druid.sql.ast.SQLName_ptr;
// import com.alibaba.druid.sql.ast.SQLStatementImpl;
// import com.alibaba.druid.sql.visitor.SQLASTVisitor;
#pragma once
#include "../SQLStatementImpl.h"
#include "SQLAlterStatement.h"

class SQLAlterViewRenameStatement 
: virtual public SQLStatementImpl, 
virtual public SQLAlterStatement
{
public:
  SQLName_ptr name;
  SQLName_ptr to;

  SQLName_ptr changeOwnerTo;

  SHAREDOBJECT(SQLAlterViewRenameStatement);
  SQLName_ptr getName();

  void setName(SQLName_ptr name);

  SQLName_ptr getTo();

  void setTo(SQLName_ptr x);

  SQLName_ptr getChangeOwnerTo();

  void setChangeOwnerTo(SQLName_ptr x);

  // @Override
  void accept0(SQLASTVisitor_ptr visitor);
};
